package com.woniuxy.service;

import java.util.List;
import com.woniuxy.pojo.House;
import com.woniuxy.pojo.PageInfo;
import com.woniuxy.pojo.Student;

public interface HouseService {
	public boolean add(House house, String ownerName, String ownerPhone);

	public PageInfo ShowAllByPage(int pageNumber);

	public PageInfo select(House house, int pageNumber, int lesseeState);

	public int delete(int house_id);

	public int findOccupyNumberById(int house_id);

	public List<Student> findStudentByHouseId(int house_id);

	public List<House> all();

	public List<House> Available();

    public int outHouse(int house_id);


}
